package com.citsin.atlas.fragment

import android.net.Uri
import android.os.Bundle
import android.view.LayoutInflater
import android.view.View
import android.view.ViewGroup
import androidx.fragment.app.Fragment
import com.bumptech.glide.Glide
import com.citsin.atlas.R
import kotlinx.android.synthetic.main.fragment_media.*
import java.io.File

/**
 * citsin
 * 2019-06-04
 */
class MediaFragment:Fragment(){

    override fun onCreateView(inflater: LayoutInflater, container: ViewGroup?, savedInstanceState: Bundle?): View? {
        return inflater.inflate(R.layout.fragment_media,container,false)
    }

    override fun onViewCreated(view: View, savedInstanceState: Bundle?) {
        super.onViewCreated(view, savedInstanceState)
//        imageView.
//
////        val uri = Uri.fromFile(File(item!!.data))
//        val media = arguments!!.getParcelable("media")
//        Glide.with(this).load(uri).into(holder.imageView)
    }

}
